os.fileStat.sys (field)
16 uses
os (current package)
stat_linux.go#L14: fs.size = fs.sys.Size
stat_linux.go#L15: fs.modTime = time.Unix(fs.sys.Mtim.Unix())
stat_linux.go#L16: fs.mode = FileMode(fs.sys.Mode & 0777)
stat_linux.go#L17: switch fs.sys.Mode & syscall.S_IFMT {
stat_linux.go#L33: if fs.sys.Mode&syscall.S_ISGID != 0 {
stat_linux.go#L36: if fs.sys.Mode&syscall.S_ISUID != 0 {
stat_linux.go#L39: if fs.sys.Mode&syscall.S_ISVTX != 0 {
stat_unix.go#L20: err := f.pfd.Fstat(&fs.sys)
stat_unix.go#L32: return syscall.Stat(name, &fs.sys)
stat_unix.go#L45: return syscall.Lstat(name, &fs.sys)
types_unix.go#L20: sys syscall.Stat_t
types_unix.go#L26: func (fs *fileStat) Sys() any { return &fs.sys }
types_unix.go#L29: return fs1.sys.Dev == fs2.sys.Dev && fs1.sys.Ino == fs2.sys.Ino
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |